﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Domain.Model
{
    [Table("sitemap")]
    public class SiteMap
    {
        [Key]
        public int Id { get; set; }
        [Column("name")]
        public string Name { get; set; }
        [Column("domain")]
        public string? Domain { get; set; }
        [Column("url")]
        public string Url { get; set; }
        [Column("isscraper")]
        public bool isscraper { get; set; } = false;
        public Selector Selector { get; set; } = new();
    }
}
